package com.patterns.strategy.liuBeiQuqi;

/**
 * Created by Xiao Yiyun on 2017/5/30.
 *赵云
 */
public class ZhaoYun {
    //赵云出场了，他根据诸葛亮给他的交代，一次拆开妙计
    public static  void main(String[] args) {
        Context context;
        //刚到吴国拆一个
        System.out.println("刚到吴国，拆开第一个");
        context = new Context(new BackDoor());
        context.operate();
        //刘备乐不思蜀了，拆一个
        System.out.println("刘备乐不思蜀了 ");
    }
}
